<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="vi">
<head profile="http://gmpg.org/xfn/11">    
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <meta name="google-site-verification" content="" />
	<title><?=$title_for_layout?></title>	
	<meta name="title" content="<?=$title_for_layout?>"/>			
	<meta name="description" content="<?=$description_for_layout?>"/>
	<meta name="keywords" content="<?=$keyword_for_layout?>"/>	
	<meta name="generator" content="Multisite 1.0.0"/>		
	<meta property="og:url" content=""/>
	<meta property="og:title" content="<?=$title_for_layout?>"/>	
	<meta property="og:image" content=""/> 	
	<meta property="og:description" content="<?=$description_for_layout?>"/>
	<meta property="og:site_name" content="<?=$title_for_layout?>"/>
	<meta property="fb:admins" content="" name=""/>	
		
	<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />	
	<link rel="alternate" type="application/rss+xml" title= - RSS" href="/rss" />	     
    <style>
    	<?php echo $css_for_layout;?>
	</style>		
	<script type="text/javascript">
		<?php echo $js_for_layout;?>
	</script>
</head>

<body class="home blog highlander-enabled highlander-light">
    <div id="wrapper">    
        <div id="page">
    	    <div class="menu-header">
                <ul id="menu-video" class="menu">
                    <li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="/">Home</a></li>
                    <li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="/sitemap.xml">Sitemap</a></li>                                 
                </ul>
            </div>
    	<div id="header" role="banner">
    		<h1><a href="/">Break News</a></h1>    
    		<div class="description">Anything update today !</div>    
    		<div class="rss">
    		    <a href="/rss" title="RSS">Stay updated via RSS</a>			
            </div>
    	</div>    
    	<hr />
        <div id="container">    
    	    <div id="sidebar" role="complementary">    	
    		<!-- begin widgetized sidebar 1 -->
    		<ul>
    		    <li id="search-2" class="widget widget_search">
                    <div class="search-box">
    	               	<form action="" method="get" onsubmit="location.href='/search/' + encodeURIComponent(this.search.value).replace(/ /g, '+'); return false;">   
    	                    <input type="text" size="15" class="search-field" name="search" id="s" value="search this site" onfocus="if(this.value == 'search this site') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search this site';}"/>
                            <input type="submit"  value="" class="search-go" />
    	                </form>
                    </div>
                </li>		
                <li id="recent-posts-2" class="widget widget_categories">		
                    <h2 class="widgettitle">Recent News</h2>
                    <ul>
                   <?php        				
        				foreach ($recent_view as $key => $news) {
        			?>	  
                        <li class="cat-item cat-item-1">
                            <a href="/<?=$news->getAlias()?>.html" title="View <?=$news->getTitle()?>"><?=$news->getTitle()?></a>
                        </li>   
                    <?php
                    	}
                    ?> 
                    </ul>
    		    </li>    
                <li class="widget widget_categories">
                    <h2 class="widgettitle">Category</h2>    	
                    <ul>
                    <?php    					
        				foreach ($list_category as $key => $cate) {
        			?>	  
                        <li class="cat-item cat-item-1">
                            <a href="/category/<?=$cate->getAlias()?>" title="View Category <?=$cate->getTitle()?>"><?=$cate->getTitle()?></a>
                        </li>   
                    <?php
                    	}
                    ?>     
        	            
        		    </ul>
                </li>    
                <li class="widget widget_categories">
                    <h2 class="widgettitle">Tags</h2>        
                    <ul class="tags">
                    <?php    					
        				foreach ($list_tag as $key => $tag) {
        			?>	  
                        <li class="cat-item cat-item-1">
                            <a href="/tag/<?=$tag->getAlias()?>" title="View Tag <?=$tag->getTitle()?>"><?=$tag->getTitle()?></a>
                        </li>   
                    <?php
                    	}
                    ?>     
        	            
        		    </ul>
                </li>         
    		</ul>                   
        </ul>
    		<!-- end widgetized sidebar 1 -->    
    	</div>
            
    	<div id="content" role="main">
    		<div id="content-inner" class="column">
			<?php						
				foreach ($articles as $key => $article) {
			?>	    
			    <div>
                    <div class="posttitle">
                        <h2 class="pagetitle"><a href="/<?php echo $article->getAlias();?>.html" rel="bookmark" title="Permanent Link to <?=$article->getTitle()?>"><?=$article->getTitle()?></a></h2>
                        <small>
                            Posted: <?=$article->getDate()?> in <a href="/category/<?=$article->getCategoryAlias()?>" title="View All <?=$article->getCategory()?> News" rel="category tag"><?=$article->getCategory()?></a>
                            <br />
                            Tags:
                            <?php    					
                    		    foreach ($article->getTags() as $key => $tag) {
                                    $pieces = explode(",", $tag);
                        	?>	    
                        		<a href="/tag/<?=$pieces[0]?>" rel="tag"><?=$pieces[1]?></a>, 
                        	<?php
                        		}
                        	?>     
                        </small>                        
                    </div>                    
                    <div class="entry">                        
                        <a class="img-wrapper" href="/<?php echo $article->getAlias();?>.html">                            
                            <img class="img-border" src="<?=$article->getThumb()?>" alt="1">
                        </a>
                        <br>
                        <p><?=$article->getSubContent()?></p>
                    <div id="jp-post-flair" class="sharedaddy sd-like-enabled"></div></div>
                </div>
			<?php
				}
			?>		    			
    		</div><!-- #content-inner -->
    
    		<div id="nav-post">
        		<div class="navigation-bott">                    
                    <?php
                    if($current_page>1){                                          
                    ?>
                        <a href="/?page=<?=($current_page-1)?>" class="left">« Pre</a>
                    <?php
                        }
                    ?>
                    <?php
                        if($current_page<$total_page){                                          
                    ?>                       
                        <a href="/?page=<?=($current_page+1)?>" class="right">Next »</a>
                    <?php
                        }
                    ?>   
                    <div class="clearbreak"></div>
				</div>
    		</div>
    	</div><!-- #content -->    
    	<hr />
    
    	<div id="footer" role="contentinfo">        				
    	</div>
    </div><!-- #container -->
    </div><!-- #page -->    
	<div id="footer-bott">
        <a href="/" rel="generator">multisite.com</a>. | Theme Greyzed.	
    </div>
    <div class="footerbar"></div>
    </div><!-- #wrapper -->        
	</div>        	    
</body>
</html>